package com.example.service;

import com.example.mapper.CollegeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 院系服务层
 */
@Service
public class CollegeService {
    @Autowired
    private CollegeMapper collegeMapper;

    /**
     * 下拉框
     */
    public List<Map<String, Long>> selectOptions() {
        return collegeMapper.selectOptions();

    }
}
